package com.kgc.scd.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * shop_user_coupon
 * @author 
 */
@Data
public class ShopUserCouponVO {
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 优惠券类型
     */
    @ApiModelProperty(value = "优惠券类型")
    private String coupon;

    /**
     * 过期时间时间
     */
    @ApiModelProperty(value = "过期时间时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date overTime;

    /**
     * 使用范围
     */
    @ApiModelProperty(value = "使用范围")
    private String categoryId;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String state;


}